<?php
/* @var $this KeHoachDauThauController */
/* @var $model FormKeHoachDauThau */

$this->breadcrumbs=array(
    'Form Ke Hoach Dau Thaus'=>array('index'),
    $model->id,
);

$this->menu=array(
    array('label'=>'List FormKeHoachDauThau', 'url'=>array('index')),
    array('label'=>'Create FormKeHoachDauThau', 'url'=>array('create')),
    array('label'=>'Update FormKeHoachDauThau', 'url'=>array('update', 'id'=>$model->id)),
    array('label'=>'Delete FormKeHoachDauThau', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
    array('label'=>'Manage FormKeHoachDauThau', 'url'=>array('admin')),
);
?>

<h1>Duyệt kế hoạch đấu thầu #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
    'data'=>$model,
    'attributes'=>array(
        'id',
        'ten_ke_hoach',
        'quyet_dinh_phe_duyet',
        'chu_dau_tu',
        'tong_muc_dau_tu',
        'danh_sach_du_an',
        'ngay_xuat_ban',
        'so_bao_dang',
        'tinh_trang_thong_tin',
        'ma_thong_tin',
        'thong_tin_chuyen_tien',
        'id_nguoi_tao',
        'ngay_tao',
        'id_nguoi_chinh_sua',
        'ngay_chinh_sua',
        'status',
        'da_thanh_toan',
        'tong_tien',
        'id_nguoi_duyet',
        'ngay_duyet',
    ),
)); ?>

<div class="form">

    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'id' => 'duyet-form',
        'type' => 'horizontal',
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    ));
    ?>

    <?php echo $form->radioButtonListRow($duyet_form,'ket_qua',array('1'=>'Duyet','0'=>'Khong duyet')); ?>
    <?php
    echo $form->textFieldRow($duyet_form, 'noi_dung',array('style'=>'display'));
    ?>


    <div class="form-actions">
        <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            'buttonType' => 'submit',
            'type' => 'primary',
            'label' => 'Submit',
        ));
        ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- form -->
